package com.example.demo.design.demo20_iterator;


/**
 * Created by 蔡超 on 2018/10/4.
 */
public interface Aggregate {

    Iterator createIterator();

    void add(Object obj);

    Object get(int index);

    int getSize();


}
